function index  = routeContainsNode( route_vector, node_number )

    index = 0;
    
    for i=1:length(route_vector)
        
        if ( route_vector(1, i) == node_number )
           
            index = i;
            return;
            
        end
        
    end
    
end

